import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from "vue-axios";
import ElementUI from 'element-ui';
import moment from 'moment';
import 'element-ui/lib/theme-chalk/index.css';
import saveAs from 'file-saver';
import * as echarts from 'echarts';

axios.defaults.baseURL = "http://127.0.0.1:8000"

Vue.config.productionTip = false;
Vue.prototype.moment = moment;
Vue.prototype.saveAs = saveAs;
Vue.prototype.$echarts = echarts;
Vue.use(VueAxios, axios);
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
